package Main;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */


import java.util.HashMap;

/**
 *
 * @author Huy
 */
public class MusicFactoryDefault extends MusicFactory{
	public MusicFactoryDefault()
	{
		listMusic = new HashMap<>();
		
		listMusic.put("menu", new SoundClip("Audio/menu.WAV"));
		listMusic.put("win", new SoundClip("Audio/win.WAV"));
		listMusic.put("defeated", new SoundClip("Audio/defeated.WAV"));
		//listMusic.put("background", new SoundClip("Audio/background.WAV"));
	}
	
	@Override
	public Sound getMusic(String name)
	{
		return listMusic.get(name);
	}
}
